[
 {
  "owner": "Administrator", 
  "docstatus": 0, 
  "creation": "2012-04-03 12:49:42", 
  "modified_by": "Administrator", 
  "modified": "2012-04-03 12:49:43"
 }, 
 {
  "name": "__common__", 
  "parent": "Delivery Note-Sales Invoice", 
  "doctype": "Table Mapper Detail", 
  "parenttype": "DocType Mapper", 
  "parentfield": "table_mapper_details"
 }, 
 {
  "name": "__common__", 
  "parent": "Delivery Note-Sales Invoice", 
  "doctype": "Field Mapper Detail", 
  "parenttype": "DocType Mapper", 
  "parentfield": "field_mapper_details"
 }, 
 {
  "name": "__common__", 
  "to_doctype": "Sales Invoice", 
  "module": "Accounts", 
  "doctype": "DocType Mapper", 
  "ref_doc_submitted": 1, 
  "from_doctype": "Delivery Note"
 }, 
 {
  "name": "Delivery Note-Sales Invoice", 
  "doctype": "DocType Mapper"
 }, 
 {
  "map": "Yes", 
  "match_id": 1, 
  "to_field": "qty", 
  "doctype": "Field Mapper Detail", 
  "from_field": "eval: obj.basic_rate and (flt(obj.amount) - flt(obj.billed_amt)) / flt(obj.basic_rate) or obj.qty"
 }, 
 {
  "map": "Yes", 
  "match_id": 1, 
  "to_field": "delivery_note", 
  "doctype": "Field Mapper Detail", 
  "from_field": "parent"
 }, 
 {
  "map": "Yes", 
  "match_id": 1, 
  "to_field": "dn_detail", 
  "doctype": "Field Mapper Detail", 
  "from_field": "name"
 }, 
 {
  "map": "Yes", 
  "match_id": 1, 
  "to_field": "sales_order", 
  "doctype": "Field Mapper Detail", 
  "from_field": "prevdoc_docname"
 }, 
 {
  "map": "Yes", 
  "match_id": 1, 
  "to_field": "so_detail", 
  "doctype": "Field Mapper Detail", 
  "from_field": "prevdoc_detail_docname"
 }, 
 {
  "map": "Yes", 
  "match_id": 1, 
  "to_field": "amount", 
  "doctype": "Field Mapper Detail", 
  "from_field": "eval: flt(obj.amount) - flt(obj.billed_amt)"
 }, 
 {
  "map": "Yes", 
  "match_id": 1, 
  "to_field": "export_amount", 
  "doctype": "Field Mapper Detail", 
  "from_field": "eval: (flt(obj.amount) - flt(obj.billed_amt)) * flt(obj.export_rate)/flt(obj.basic_rate)"
 }, 
 {
  "map": "No", 
  "match_id": 0, 
  "to_field": "naming_series", 
  "doctype": "Field Mapper Detail", 
  "from_field": "naming_series"
 }, 
 {
  "map": "No", 
  "match_id": 3, 
  "to_field": "incentives", 
  "doctype": "Field Mapper Detail", 
  "from_field": "incentives"
 }, 
 {
  "map": "Yes", 
  "match_id": 1, 
  "to_field": "serial_no", 
  "doctype": "Field Mapper Detail", 
  "from_field": "serial_no"
 }, 
 {
  "map": "Yes", 
  "match_id": 1, 
  "to_field": "export_rate", 
  "doctype": "Field Mapper Detail", 
  "from_field": "export_rate", 
  "checking_operator": "="
 }, 
 {
  "match_id": 0, 
  "doctype": "Table Mapper Detail", 
  "from_table": "Delivery Note", 
  "to_table": "Sales Invoice", 
  "validation_logic": "docstatus=1"
 }, 
 {
  "match_id": 1, 
  "to_field": "entries", 
  "doctype": "Table Mapper Detail", 
  "from_field": "delivery_note_details", 
  "from_table": "Delivery Note Item", 
  "to_table": "Sales Invoice Item", 
  "validation_logic": "(ifnull(amount, 0) = 0 or amount > ifnull(billed_amt, 0)) and docstatus = 1"
 }, 
 {
  "match_id": 2, 
  "to_field": "other_charges", 
  "doctype": "Table Mapper Detail", 
  "from_field": "other_charges", 
  "from_table": "Sales Taxes and Charges", 
  "to_table": "Sales Taxes and Charges", 
  "validation_logic": "name is not null"
 }, 
 {
  "match_id": 3, 
  "to_field": "sales_team", 
  "doctype": "Table Mapper Detail", 
  "from_field": "sales_team", 
  "from_table": "Sales Team", 
  "to_table": "Sales Team", 
  "validation_logic": "name is not null"
 }
]